(component
  (core module $main (;0;)
    (type (;0;) (func (param i32 i32) (result i32)))
    (type (;1;) (func (param i32 i32 i32) (result i32)))
    (type (;2;) (func (param i32 i32 i32 i32) (result i32)))
    (memory (;0;) 1)
    (export "[async-lift]foo" (func 0))
    (export "[callback][async-lift]foo" (func 1))
    (export "[async-lift]foo:foo/bar#foo" (func 2))
    (export "[callback][async-lift]foo:foo/bar#foo" (func 3))
    (export "memory" (memory 0))
    (export "cabi_realloc" (func 4))
    (func (;0;) (type 0) (param i32 i32) (result i32)
      unreachable
    )
    (func (;1;) (type 1) (param i32 i32 i32) (result i32)
      unreachable
    )
    (func (;2;) (type 0) (param i32 i32) (result i32)
      unreachable
    )
    (func (;3;) (type 1) (param i32 i32 i32) (result i32)
      unreachable
    )
    (func (;4;) (type 2) (param i32 i32 i32 i32) (result i32)
      unreachable
    )
    (@producers
      (processed-by "wit-component" "$CARGO_PKG_VERSION")
      (processed-by "my-fake-bindgen" "123.45")
    )
  )
  (core instance $main (;0;) (instantiate $main))
  (alias core export $main "memory" (core memory $memory (;0;)))
  (type (;0;) (func (param "s" string) (result string)))
  (alias core export $main "[async-lift]foo" (core func $"[async-lift]foo" (;0;)))
  (alias core export $main "cabi_realloc" (core func $cabi_realloc (;1;)))
  (alias core export $main "[callback][async-lift]foo" (core func $"[callback][async-lift]foo" (;2;)))
  (func $foo (;0;) (type 0) (canon lift (core func $"[async-lift]foo") (memory $memory) (realloc $cabi_realloc) string-encoding=utf8 async (callback $"[callback][async-lift]foo")))
  (export $"#func1 foo" (@name "foo") (;1;) "foo" (func $foo))
  (type (;1;) (func (param "s" string) (result string)))
  (alias core export $main "[async-lift]foo:foo/bar#foo" (core func $"[async-lift]foo:foo/bar#foo" (;3;)))
  (alias core export $main "[callback][async-lift]foo:foo/bar#foo" (core func $"[callback][async-lift]foo:foo/bar#foo" (;4;)))
  (func $"#func2 foo" (@name "foo") (;2;) (type 1) (canon lift (core func $"[async-lift]foo:foo/bar#foo") (memory $memory) (realloc $cabi_realloc) string-encoding=utf8 async (callback $"[callback][async-lift]foo:foo/bar#foo")))
  (component $foo:foo/bar-shim-component (;0;)
    (type (;0;) (func (param "s" string) (result string)))
    (import "import-func-foo" (func (;0;) (type 0)))
    (type (;1;) (func (param "s" string) (result string)))
    (export (;1;) "foo" (func 0) (func (type 1)))
  )
  (instance $foo:foo/bar-shim-instance (;0;) (instantiate $foo:foo/bar-shim-component
      (with "import-func-foo" (func $"#func2 foo"))
    )
  )
  (export $foo:foo/bar (;1;) "foo:foo/bar" (instance $foo:foo/bar-shim-instance))
  (@producers
    (processed-by "wit-component" "$CARGO_PKG_VERSION")
  )
)
